﻿using Microsoft.AspNetCore.Identity;

namespace OpenIddictService.Models
{


    public class UserInfo
    {
        public string Gid { get; set; }

        public long id { get; set; }

        public string name { get; set; }    

        public string account{ get; set; } 
        public string password { get; set; }
        public string phone { get; set; }


       
    }

    public class UserInfoList
    {
        public static Dictionary<long, UserInfo> UserList = new Dictionary<long, UserInfo>();

        public  UserInfo GetTestUser()
        {
            var user = new UserInfo()
            {
                Gid = Guid.NewGuid().ToString(),
                id = 1000L,
                account = "admin",
                name = "测试用户",
                password = "123456",
                phone = "15928914770"
            };
            return user;

        }
    }


}
